package base

//
//import (
//	"go-project/common/base/req"
//)
//
//type Biz[T any] struct {
//	dao Dao[T]
//}
//
//func (b *Biz[T]) Page(page *req.Pager, query any) ([]*T, int64, error) {
//	return b.dao.Page(page, query)
//}
//
//func (b *Biz[T]) GetById(id any) (*T, error) {
//	return b.dao.GetById(id)
//}
//
//func (b *Biz[T]) Save(ent *T) error {
//	return b.dao.Save(ent)
//}
//
//func (b *Biz[T]) DeleteById(id any) error {
//	return b.dao.DeleteById(id)
//}
